package com.hanserwei.community.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hanserwei.community.entity.po.PropertyType;
import com.hanserwei.community.entity.request.property.PropertyTypeSaveRequest;
import java.util.List;

public interface PropertyTypeService extends IService<PropertyType> {

    boolean createType(PropertyTypeSaveRequest request);

    boolean updateType(Integer id, PropertyTypeSaveRequest request);

    List<PropertyType> listAllActive();
}
